//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package 力扣.题库.未分类;

public class demo_3516 {
    public demo_3516() {
    }

    public int findClosest(int x, int y, int z) {
        int i = Math.abs(x - z) - Math.abs(y - z);
        return i == 0 ? 0 : (i > 0 ? 2 : 1);
    }
}
